Where is the best and easiest place to store global website settings [migrated]
Posted
by
Darkcat Studios
on Pro Webmasters
See other posts from Pro Webmasters
or by Darkcat Studios
Published on 2012-05-30T09:05:52Z
Indexed on
2012/05/30
17:01 UTC
Read the original article
Hit count: 177
web-development
|ASP.NET
I'm just putting together an internal data system for a client, which is ASP.NET VB, backed by an SQL database, on an in-house IIS7.5 dedicated server.
I want to store certain global settings, such as the age limit for news articles, admin contacts etc, in a file NOT within the database (i.e. to avoid unnecessary database query's)
Where would the best place to store this be? global.asax? app.config? or a custom XML file? how would i import these at runtime? (probably to session variables)
ETA: Also - the settings must be editable from within the site, i.e. an admin section i'm yet to build
© Pro Webmasters or respective owner